package cn.yx.permission.service.impl;

import cn.yx.common.mybatis.service.AbstractMybatisPlusService;
import cn.yx.permission.cond.RoleCond;
import cn.yx.permission.dos.RoleDo;
import cn.yx.permission.dto.RoleDto;
import cn.yx.permission.mapper.RoleMapper;
import cn.yx.permission.mapping.RoleMapping;
import cn.yx.permission.service.RoleService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * <p>RoleService角色服务接口实现类</p>
 *
 * @author Wgssmart
 */
@Service
@Slf4j
public class RoleServiceImpl
        extends AbstractMybatisPlusService<RoleDo,
        RoleDto,
        RoleCond,
        Long,
        RoleMapper>
        implements RoleService {

    private final RoleMapper roleMapper;

    public RoleServiceImpl(RoleMapper roleMapper) {
        super(roleMapper, RoleMapping.INSTANCE);
        this.roleMapper = roleMapper;
    }
}
